Fix small typo in asset upload.

@jkarni I vaguely remember a bug like this being mentioned in chat a few days ago, so maybe this is already in a PR somewhere. If not, this will fix it.