Patch for Sails.isLocalSailsValid()