don't return an error if the value was not found

returning a 0-size is enough and helps distinguishing
between a real error and a 'not-found' condition