don't use $ in python strings
simplify and fix: we always have a repository at the root of things
minor fixes
use ->master to determine the right path
fix typo
rm print statements