Revert "Possibly fix Repository error"

This reverts commit 02c5983f32890944d2b3038b61a0142b7cefec65.