Made sure that lookup map is always created

(even if empty)

and correctly throws 404 if no file or relevant lookup is fired