[fix] Correctly detect license information