anchor.diff:  parse_dep({Name, Source, Level}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source)
                                                                                 , is_integer(Level) ->
       Dep = new_dep(DepsDir, Name, [], Source, State),
  -    {[Dep | SrcDepsAcc], PkgDepsAcc}.
  +    {[Dep | SrcDepsAcc], PkgDepsAcc};
  +parse_dep(Dep, _, _, _) ->
  +    throw(?PRV_ERROR({parse_dep, Dep})).
  +
   
   new_dep(DepsDir, Name, Vsn, Source, State) ->
       Dir = ec_cnv:to_list(filename:join(DepsDir, Name)),
  
positive.code:         end
      catch
          %% maybe_fetch will maybe_throw an exception to break out of some loops
          _:Reason ->
              {error, Reason}
      end.
  
  
negative.code:     AppInfo1 = rebar_app_info:state(AppInfo, S3),
  
      Deps = rebar_state:get(S3, deps, []),
      %% Update lock level to be the level the dep will have in this dep tree
      NewLocks = [{DepName, Source, LockLevel+Level} ||
                     {DepName, Source, LockLevel} <- rebar_state:get(S3, {locks, default}, [])],
  