Issue #27598: Add a conditional check.
Issue #27598: Add a conditional check.

    - Avoid AttributeError exception when the requirements file don't
      exists.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt