Minor fix to account for null path.