Better handling of resolving path info for modules linked into app