Added more brains to detect the git hash in config