fix crash if LICENSE file is not found