Add a check for whether background.php.path is valid.