Update res.location with leading ./ test