Fix a bug with LaunchDaemons scripts