Fix for https://issues.jboss.org/browse/APIMAN-88

https://issues.jboss.org/browse/APIMAN-88