GRAILS-3463 - fix problem passing null to a dynamic finder

Also see http://jira.codehaus.org/browse/GROOVY-5832
ignore *.swp