cmake: fix typo
MacOverlays: Pass isDir flag to isRegisteredPath method

With that, a path can be added to directories to also detect the
sync top directory.

This fixes bug #2053