Fixed a number of issues including the master branch not checking out the Repo correctly