Fix for: https://issues.jboss.org/browse/SRAMP-235

https://issues.jboss.org/browse/SRAMP-235