fixup aptrepo