Debug resolver once the find_conflict is done

The current code throws an error if we're using
DEBUG_RESOLVER=1 and it wasn't able to find any gem
to rewind to, thus returning nil.