Fixes #60307. This bug was introduced in commit d2edf1d435 ("User - Create parent directories if they do not exist in the specified home path (#51043)") and did not make it into any releases.
d2edf1d435