Made 'buildbot --version' work outside of source directory.

For checked out versions of buildslave, run 'git' command from
proper directory.
made indention PEP8 compliant
Merge branch 'fix-buildslave-version' of git://github.com/elmirjagudin/buildbot