Fix warnings in Table::get()

Avoid array_combine errors by checking argument counts before calling
array combine.
Use early return in Table::get().
Remove unused import.