Check for empty paths