Fix typo with rc vs. nightly version detection