Hopefully fixed Repo

With a little bit of magic and a lot of deletion.