calculate injected dependencies’ paths relative to `cwd`