Check for licence file before searching into it. Fixes issue 16.