Fix os-svc-restart to exit correctly without -n.

Similar to os-svc-enable, it was trying to run when invoked
incorrectly.

Change-Id: Ice285d3796149f0c82521da7c5112375cf15c1fe