Remove licences for unused images