Fixed bug in git publish