SDK 3.13.4: failed to deploy application to the device (name resolution issue)

Hi all.

After SDK update to the 3.13.4 (Virtualbox, Ubuntu host) I was unable to deploy my application to the phone:

# sfdk deploy --sdk --debug

ssh: Could not resolve hostname xperia: Temporary failure in name resolution
Fatal: Failed to establish connection between the build engine and the device. Please consult the FAQ <https://docs.sailfishos.org/Tools/Sailfish_SDK/FAQ/>.

Failed to deploy

I have following record in my /etc/hosts

192.168.0.5 xperia

And configured device in SDK:

# sfdk device list

#3 "Xperia"
    hardware-device  user-defined  defaultuser@xperia:22
    private-key: ~/.ssh/id_rsa_xperia

It was working fine in previous SDK release, but not sure how exactly.

Workaround:

Just login to the SDK VM, switch to root and add the same entry to the /etc/hosts as on the host:

sfdk engine exec -t /bin/bash
sudo su 
echo "192.168.0.5 xperia" >> /etc/hosts