Don't pass a command to ssh if command is nil