fix a couple remote mm install issues

prune unused stuff from the multimedia map before iterating through it
be more lenient about the URIs used: only require they start with jr://file/