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