Fix upgrade command execution by setting default IFS