Fix typo in Upload::register()