do not run the database update if alembic is not available

alembic is not available on all supported platforms

check if alembic can be imported and only run the database update if it
is available.

Change-Id: If2e9f827312464ba676eed924fe218a04e441ee1