Update change_words_in_files_with_sed.sh

Adjust at the verification of variables.