Fix wrong return when empty configuration

Fix some "get" methods return when associated configuration entry is
empty
see this comment for details:
https://gordonlesti.com/lestifpc/comment-page-14/#comment-21371
Fix tests
Merge pull request #84 from aurmil/fix-empty-configurations

Fix wrong return when empty configuration