Fixing crash when a use didn't set his locality
deployment