consolidate homePath() logic in hkclient as HomePath()