Handle case where path does not exist in ref