Firs for empty package directory causes IllegalArgumentsException

This pull request fixes issue #233.