Check for file existence before trying to include

This was throwing errors when testing with PHPUnit (in a kind of jury-rigged Composer + Yii mix). Changed it to check to see if the file exists before trying to `include()` it.