Fix issue with null deployment name exception as per anfog_dm