Safe testing for TESTOPTS in Rakefile