ugly workaround from http://jira.codehaus.org/browse/SCM-531