fix #1253 - only warn if the renaming has an actual empty string