fix NullPointerException loading GitTool