added an error message when item type is wrong. also returning item if is an empty string
added an error message when item type is wrong. also returning item
if is an empty string

GabrielNicolasAvellaneda/luvit-upstream,zhaozg/luvit,rjeli/luvit,GabrielNicolasAvellaneda/luvit-upstream,bsn069/luvit,zhaozg/luvit,kaustavha/luvit,rjeli/luvit,DBarney/luvit,rjeli/luvit,DBarney/luvit,DBarney/luvit,kaustavha/luvit,luvit/luvit,rjeli/luvit,kaustavha/luvit,DBarney/luvit,luvit/luvit,bsn069/luvit,GabrielNicolasAvellaneda/luvit-upstream,bsn069/luvit,GabrielNicolasAvellaneda/luvit-upstream