inject now considers parent paths, up to and including base