let the location mapper retry when data location is not set first time

fixes #5012