While parsing a flakeref, upon not finding a flake.nix, search upwards until git or filesystem boundary.