Fixes #7: Implement license resolution based on regexp
Avoid loosing license information during notification