Revert "Fix git-repo creation (switchns change)"

This reverts commit 12f4b9dd4e95fc7183c01bf79418cae82ce225b2.