Ensure user mountpoints are setup when using getUserFolder

Should fix #12783

cc @MorrisJobke @PVince81 @DeepDiver1975