CLOUDIFY-2032 - fixed NPE in case of localcloud.