Fix get_metadata() function response, NIL response was introducing an shift