Only run create_resources if $kerberos_principals is a hash