remove repositories from the disk
fixup
better checks for is_public