To fix the missing SHARE_DIR variable in rescue mode (while executing the system-setup scripts) we source the important variables for rear from now on in rescue.conf

Is related to issue #343