Revert "new repo fix"

This reverts commit e28906dcc46e6887c2692eae59fd2ced64d37a83.