extract_key: only set metadata groups and namespace if bucket_meta is not 'empty'
v0.6.5