fixed issue where fallback base_directory was mistakenly hardcoded to a name, not the current user