Do not try to set the location values when saving a Page. Location is not an available feature on pages.
The location helper is not even initialized on page, resulting in a Location object that is always null.