Fix for MAINTENANCE_MODE notice https://drupal.org/node/2130711