Fixing profile after user_dir plugin refactoring at #2445