Added Logic to always go to mirror if the mirror is on the same machine or if the config value (alwaysCheckMirror) is set to true - default is false.