fix fails to detect sbt_path

fixed an issue that fails to detect the sbt_path, when sbt or brew are not installed.