This MR fixes an issue when trying to run Cheby in a setup where user home directory doesn't exist.
This may include following scenarios:
- Docker image run with
--userswitch (necessary for AFS access)
sudowith UID not present in the system
- SystemD dynamic users
This MR is especially useful for Dockerized environments.
In cases mentioned above
getpass.getuser() will fail with
Problem was fixed in
posixpath.expanduser() (see here and here) but wasn't propagated to
Source code suggest this is intended behaviour.