Fixed #809: AgaviDatabase::getName() always returns false