Fixed check.rake due to #3530
Merge pull request #3535 from boldt/5-0-stable

Fixed check.rake due to #3530