MEDIUM: Final fix for directory selection on MacOS (System property was
not always properly set)