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

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