I guess the question is... which one is more logical... check for logs because we are about to use it or check for database.php because we need it later.

I'm leaning towards check for var/logs and remove the check for the database.php.  Is not having a var/logs a good indication of not installed yet?