Add mode and method of git step to renderables
Correct isinstance of str by basestring

Change isintance(..., str) by isinstance(..., basestring)
Merge vlefort/buildbot:master (PR #1144)

+autopep8