follow up 87afd343 - fix metadata check and typo

make sure map metadata is evaluated
trailing slashes on URLS - refs #560