safe guard for missing proxy service 

Adds a safe guard for NPE

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>