Refactor: Extract function _get_default_path
Refactor: Extract function _get_default_path

This way we will have functions without #ifdef in its body.

OpenSCAP/openscap,redhatrises/openscap,redhatrises/openscap,mpreisler/openscap,jan-cerny/openscap,OpenSCAP/openscap,redhatrises/openscap,OpenSCAP/openscap,redhatrises/openscap,mpreisler/openscap,OpenSCAP/openscap,jan-cerny/openscap,jan-cerny/openscap,mpreisler/openscap,jan-cerny/openscap,mpreisler/openscap,mpreisler/openscap,jan-cerny/openscap,redhatrises/openscap,mpreisler/openscap,jan-cerny/openscap,OpenSCAP/openscap,redhatrises/openscap,OpenSCAP/openscap