kmshttpendpoint: Do not return an error when no sample is retrieved

Change-Id: I032cb08efd7fac8b44a00a4f6035df2e17f1ccd4