optimized GcHelpers::registerInFilesystem()

add the "Exempt folders from the synchronisation" functionality