That would look as if your Mac is unpacking the ePubs into a directory that uses the ePub file name which is how Books stores ePubs.
Since you mentioned using Sigil, you might want to look at the
FolderIn and FolderOut - Folder input and output plugins for Sigil which should let you open the ePub folder and then save it as an ePub file.