indexes: Handle failed parsed indexes metadata from msgpack

If msgpack parsing is failed during metadata extraction
metadata struct will be marked as not valid
and field "is_valid" will be false
Merge pull request #486 from IIoTeP9HuY/master

indexes: Handle failed parsed indexes metadata from msgpack