Don't fail tests if the license has never been validated (#15213)

Change-Id: I6e71dc086d1c2952789a941258a9bbac56fe7518