refactor the rescuesystem check
Merge pull request #176 from os-autoinst/refactor_recuesystem

refactor the rescuesystem check