[Refactor] Catch basename for shop_name