Ansible inventory handler does not break anymore

If no env variable set an empty json is printed to avoid breaking ansible inventory script parser and bail out of execution.