anchor.diff:  find_and_remove(ExcludeName, [H | Rest]) ->
       [H | find_and_remove(ExcludeName, Rest)].
   
  -find_app(Name, _Vsn, []) ->
  -    error(?RLX_ERROR({app_not_found, Name}));
  +find_app(Name, Vsn, []) ->
  +    case code:lib_dir(Name) of
  +        {error, bad_name} ->
  +            erlang:error(?RLX_ERROR({app_not_found, Name}));
  +        Dir ->
  +            to_app(Name, Vsn, Dir)
  +    end;
   find_app(Name, Vsn, [App | Rest]) ->
       case check_app(Name, Vsn, App) of
           true ->
  
positive.code:     rlx_app_info:name(App) =:= Name
          andalso rlx_app_info:vsn(App) =:= Vsn.
  
  
  %% TODO: Support overriding the dirs to search
  %% precedence: apps > deps > erl_libs > system
  
negative.code:                         {ok, Release2, rlx_state:add_realized_release(State, Release2)}
                      catch
                          _:_ ->
                              erlang:error(?RLX_ERROR({release_erts_error, ErtsDir}))
                      end
              end
      end.
  