small fix in findsource to avoid error if .reg file is not found