We already know how Han Solo got his name in Solo: A Star Wars Story. However, the new comic book reveals the offensive meaning behind the name.
In Solo, Han was given the last name because he "had no people" when he signed up for the Empire in an effort to leave Corellia. Interestingly, there is a deeper meaning to why the boy was provided the rather obvious designation (via We Got This Covered). It is revealed in the comic book Han Solo: Imperial Cadet. Take a look at the image below.
(Marvel Comics)

It's certainly depressing to know that the Imperial forces had their own way of marking certain individuals. Although Han thought he had escaped his past by joining the Empire, it is evident that being a "scrumrat" has followed him for most of his life. Needless to say, it was a good call to abandon the Empire and join Beckett in the end.
The summary for Han Solo: Imperial Cadet reads as follows:
Imperial Cadet is written by Robbie Thompson and illustrated by Leonard Kirk. So far, only the first issue has been released on November 7. The second issue is set to be published on December 12.
Related: Star Wars Fans Forced To Remove Roadside AT-ST Replica