handle boolean false case for rename_command

same as the previous commit, but for rename_command