8659357 Replaced find_hostname with api.env.host

1 file Authored by akasurde 7 years ago, Committed by mbasti 7 years ago,
    Replaced find_hostname with api.env.host
    
    Fixes: https://fedorahosted.org/freeipa/ticket/5841
    
    Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
    Reviewed-By: Martin Basti <mbasti@redhat.com>