Handle empty database names