Finds the container folder of a given path by walking up the directory tree.
Starting from the given path, walks up using dirname and checks if each path exists in the folder_map. Returns the first matching folder found, or null if no folder in the path exists in the project.
| folder_path |
The path to find the container folder for |
|
The Folder object if found, null otherwise |