fix wrong logic for mangling repos

When changing the flags boolean value the logic checks had the old way, basically turning the flag around.

The normal behavior should be to mangle the repos.