CLOUDIFY-2256 Added validation for monitors event
CLOUDIFY-2252 check for null in locator return value