Fix abort recursion

Just a quick fix for a bug when doing `dep foobar` due to some infinite recursion.
Thanks for the tool!