[PackageUrlInterceptor] Minor code optimisation
This gets rid of QRegularExpression and uses plain string operations, which is always a faster route.
This gets rid of QRegularExpression and uses plain string operations, which is always a faster route.