Fixed local repo issues (note: don't rm -rf your .git)