[#16] Fix bug where license as empty list caused server 500