Always try to call fs.realpathSync

Catch the error and use the unreal path when it fails