Fix bug #2481237: Maps directory file chooser should look for directory