fix(systemd): fix logic bug: break vs. return

Break only exits from the innermost for/select/switch.
Includes a couple minor style tweaks nearby also.
Merge pull request #481 from burke/fixbreak

Fix logic bug where break didn't exit as many levels as intended.