Clean up build/deploy directories after failed plugin build