Fix running dub from a non-package path and allow sub packages to reference their parent.