Fixed bug where if destination was unspecified, changed would not be set, resulting in an UnboundLocalError.
Merge pull request #2809 from piffey/uri_fix

Fixed bug where if destination was unspecified, changed would not be set...