Travis: Initiating build for commit 'c4785eea53b15ed9c0e55bf895af01e8e7612382' on branch '2.4.0-b2': Move checks to function body to make calling them easier and safer