Fix unset ansible_virtualization_role (#39514)
Fix unset ansible_virtualization_role (#39514)

Error was:
AttributeError("'str' object has no attribute 'startwith'",)

Closes #39138
thaim/ansible,thaim/ansible