Fixed init.d script for some configurations

In my environment your version of init.d script fails on 43th line because it tries execute **$1** in **/home/git** directory.
This fix resolves the issue and also removes excess three lines of code :)