Fixing MULE-6908. Avoid null pointer when environment proeprties are null