Bugfix in searching relative paths