Fixed grunt deploy and only add map if one is present.