getmdeta: fixed typos in doc, fixed weird quoting issue in variable