Remove duplicated 'rake' check.