Hook generation problem solved. 
Hook generation problem solved. 

In case not git repo exists, creating the hook fataled. Now it works as expect and cleanly exits.
gitreport/gitreport-client,gitreport/gitreport-client