AS7-6508 Fix case where both WEB-INF/beans.xml and META-INF/beans.xml is present