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