Fix fucking stupid if condition (for multipart)

Check that content-type is multipart before going down the
multipart(upload) road, rather than only checking if the URL is a
directory