Wip 2.0 search paths

There was a small bug with the search paths implementation. This small PR fixes it :smile: