[prompt] Fix home path resolver