[PD-842] Adds a validation error if no location is added

Same as before, only basing on master.