Check for null in paths