fix ssh outputs in child template

when the ssh_private_key parameter get to the child template, it's just
a string, so don't do a get_attr on it.