Make path_var allow null.