check for existing systemd directory before installing systemd scripts

Fixes #515