fix import scheme when HOME environment variable is not defined