overwrite not always defined

Add the local variable 'overwrite' with a default value.
Merge pull request #6 from craigtracey/package-overwrite

overwrite not always defined