[FIXED JENKINS-24341] - Check if the project can be disabled before the disabling

The change calls the <code>AbstractProject::supportsMakeDisabled()</code> before calling <code>AbstractProject::makeDisabled()</code>