Add git hash in version for git version
Add PEP8 suggested format in new file template
Don't force check on setup directory
Add some missing dot after error printing
Payload directory is not mandatory

execpt if there is build directory