fix to configure which seemed to be not copying all the files it should
fix to buildBranchesInRepo so that the new code won't break if a temp repository doesn't already exist