GUI-846: Fix logic for displaying policy name conflict warning in IAM policy generator

Minor fix for https://eucalyptus.atlassian.net/browse/GUI-846