Fix maintainer-upload-docs target to work out-of-tree