Are you missing some brackets after the getfqdn?