notifyService() needs some minor null handling when REST is used.

This concerns something a colleague of mine ran into earlier.
Without a precaution in this spot the service could run into a NullPointerException if a variable contains a null.