Correctly pull base uri within mapper controller