JBIDE-14778 - Fixing 'Generate deployment method'

https://issues.jboss.org/browse/JBIDE-14778
'Generate deployment method' uses wrong location for option 'add empty beans.xml' when war type is selected