fix getting metadata
fix getting metadata


Former-commit-id: 3a4ae7d6bff396c708cee7529334a2faa47d732f [formerly 96adeea98358e233180a3033865f302e73619592]
Former-commit-id: 7f66abcb46306671bf04a4956ebba1bbffdafd66
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine