Fixes check for uploading plugins