If a path can't be translate to a uri, return null