Resolving HOME path for settings file