Fix for https://github.com/jboss-fuse/fuse/issues/311