bugfix in sfi when running the discover subcommand