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

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