Fix bug introduced when https://jira.spring.io/browse/ROO-3510 was fixed