Don't fail if `salt._compat` cannot be imported. Refs #7426. Fixes #7425.

Don't fail if `salt._compat` cannot be imported. Refs #7426. Fixes #7425.