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

For checked out versions of buildslave, run 'git' command from
proper directory.
made indention PEP8 compliant