I would probably only do this if /usr/lib/systemd/system actually exists (it's a Gentoo only thing, right?). So perhaps wrap it in a "if [ -d "/usr/lib/systemd/system/" ]; block?