Debian: don't run update-rc.d with no init script

On Debian, it seems that chmod and update-rc.d run unconditionally on init files; even when there is in fact not init file (e.g. for salt-api), which causes an error. 

This proposed change fixes this.