Detect empty paths in extension exclusion