Check if model table exists before listing column_names

When building the dummy app for example that code runs before the tables
get created