Fix wrong local variable
Land #2013 - Fix jboss modules wrong local variable