Hey Jakub,
Did you get the changes from this PR [1] ? This was a known issue, you should be able to do what you want by applying this patch.
[1] https://github.com/wildfly/wildfly/pull/6684
Regards.