Check nil before
Merge branch 'distribution-plugin' of git://github.com/coletivoEITA/noosfero-ecosol