[BUGFIX] Fixed issue #197 - Doesn't run when /tmp/magento/var exists and database is not created / tables missing

Catched error if i.e. database not correct defined.