support the discover task searching the output dir

This has the potential to save a lot of time and make future release
upgrading much simpler for the user.