Converts relative basepath to absolute