Fix "open HOME/.docker/hosts: no such file or directory" when "docker hosts list" is invoked before .docker/hosts is created