anchor.diff:      case filelib:is_dir(Dep#dep.dir) of
           true ->
               %% Already downloaded -- verify the versioning matches the regex
  -            case is_app_available(Config, Dep#dep.app,
  -                                  Dep#dep.vsn_regex, Dep#dep.dir, Dep#dep.is_raw) of
  +            case is_app_available(Config, Dep#dep.app, Dep#dep.vsn_regex,
  +                                  Dep#dep.dir, Dep#dep.is_raw) of
                   {Config1, {true, _}} ->
                       Dir = filename:join(Dep#dep.dir, "ebin"),
                       ok = filelib:ensure_dir(filename:join(Dir, "dummy")),
  
positive.code:             {Config1, Deps} = find_deps(Config, read, RawDeps),
  
              lists:flatten(Deps ++ [begin
                                         {true, AppDir} = get_deps_dir(Config1, Dep#dep.app),
                                         collect_deps(AppDir, C)
                                     end || Dep <- Deps]);
          _ ->
  
negative.code:     ShOpts = [{cd, AppDir}],
      rebar_utils:sh("git fetch origin", ShOpts),
      rebar_utils:sh(?FMT("git checkout -q ~s", [Branch]), ShOpts),
      rebar_utils:sh(
        ?FMT("git pull --ff-only --no-rebase -q origin ~s", [Branch]),ShOpts);
  update_source1(AppDir, {git, _Url, {tag, Tag}}) ->
      ShOpts = [{cd, AppDir}],
      rebar_utils:sh("git fetch --tags origin", ShOpts),
  