Fix return value for _key_basic_get

Change-Id: If9cbc1e60422f4574bb58be28306f3e3f8f19793
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>