[RFC] small fix, added exception when no item is found for license