Fix missing return
Merge pull request #155 from abimus/fix/resource-config

Fix missing return