Fixed #63

Avoid grabbing and generating the same license more than once.