enforce exception if an invalid license is to be installed

Change-Id: Ic91b6ce1dc1cd056480df6b5a6121e48df482330
Merge "enforce exception if an invalid license is to be installed"