It sounds good on paper, but honestly I found the exchange cringe worthy. The Imperial just says it as if it just popped into his head and is funny.
Would have been better if Han came up with it, like so-
“Last name?”
“I don’t have one”
“Then pick one”
“Han… (glances at where Qira was taken) Solo”