Fix NPE
Merge pull request #141 from obiba/coverage-fix

Fix NPE