Changed update script to not use git stash for stashing local changes but create a patch file instead

git stash will fail if no user and email are set for the git installation, which is a highly likely case if the user just did a git clone of the sources and never committed anything himself yet.