fixed crash on upgrade and hides the ssh key selector if no ssh key is available