Fix a bug in GetRunFilesDir in posix systems.
Fix a bug in GetRunFilesDir in posix systems.

Correctly handle what is returned by GetExecutablePath if the path returned is
already a path under the runfiles directory.

PiperOrigin-RevId: 227178949

Intel-tensorflow/tensorflow,ageron/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,apark263/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,xzturn/tensorflow,annarev/tensorflow,ageron/tensorflow,xzturn/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,apark263/tensorflow,cxxgtxy/tensorflow,aldian/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,jhseu/tensorflow,apark263/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,theflofly/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,annarev/tensorflow,ghchinoy/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,jbedorf/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,DavidNorman/tensorflow,annarev/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,apark263/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,paolodedios/tensorflow,hfp/tensorflow-xsmm,ppwwyyxx/tensorflow,kevin-coder/tensorflow-fork,yongtang/tensorflow,chemelnucfin/tensorflow,Intel-Corporation/tensorflow,ghchinoy/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,kevin-coder/tensorflow-fork,tensorflow/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,renyi533/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ghchinoy/tensorflow,adit-chandra/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,jendap/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,DavidNorman/tensorflow,ageron/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,hfp/tensorflow-xsmm,petewarden/tensorflow,ghchinoy/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,alsrgv/tensorflow,kevin-coder/tensorflow-fork,theflofly/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jbedorf/tensorflow,arborh/tensorflow,tensorflow/tensorflow,annarev/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,sarvex/tensorflow,jendap/tensorflow,gautam1858/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,ageron/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,apark263/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,hfp/tensorflow-xsmm,ageron/tensorflow,alsrgv/tensorflow,DavidNorman/tensorflow,chemelnucfin/tensorflow,ghchinoy/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,annarev/tensorflow,ageron/tensorflow,annarev/tensorflow,ghchinoy/tensorflow,aldian/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,aam-at/tensorflow,alsrgv/tensorflow,aldian/tensorflow,karllessard/tensorflow,chemelnucfin/tensorflow,arborh/tensorflow,apark263/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,gunan/tensorflow,jhseu/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,gautam1858/tensorflow,ageron/tensorflow,petewarden/tensorflow,jendap/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,xzturn/tensorflow,kevin-coder/tensorflow-fork,gautam1858/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,apark263/tensorflow,yongtang/tensorflow,petewarden/tensorflow,hfp/tensorflow-xsmm,gunan/tensorflow,jendap/tensorflow,hfp/tensorflow-xsmm,aam-at/tensorflow,freedomtan/tensorflow,theflofly/tensorflow,davidzchen/tensorflow,arborh/tensorflow,davidzchen/tensorflow,alsrgv/tensorflow,aam-at/tensorflow,chemelnucfin/tensorflow,aldian/tensorflow,kevin-coder/tensorflow-fork,frreiss/tensorflow-fred,DavidNorman/tensorflow,petewarden/tensorflow,theflofly/tensorflow,Intel-Corporation/tensorflow,hfp/tensorflow-xsmm,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,apark263/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,jbedorf/tensorflow,hfp/tensorflow-xsmm,sarvex/tensorflow,aldian/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,kevin-coder/tensorflow-fork,gautam1858/tensorflow,annarev/tensorflow,aam-at/tensorflow,jendap/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jbedorf/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,arborh/tensorflow,alsrgv/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,ppwwyyxx/tensorflow,aldian/tensorflow,ppwwyyxx/tensorflow,hfp/tensorflow-xsmm,chemelnucfin/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,xzturn/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,paolodedios/tensorflow,apark263/tensorflow,aam-at/tensorflow,ageron/tensorflow,alsrgv/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,theflofly/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,hfp/tensorflow-xsmm,ageron/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,petewarden/tensorflow,gunan/tensorflow,jendap/tensorflow,freedomtan/tensorflow,jbedorf/tensorflow,jhseu/tensorflow,yongtang/tensorflow,jbedorf/tensorflow,chemelnucfin/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,jendap/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,apark263/tensorflow,jendap/tensorflow,arborh/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,theflofly/tensorflow,hfp/tensorflow-xsmm,adit-chandra/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,theflofly/tensorflow,hfp/tensorflow-xsmm,jhseu/tensorflow,chemelnucfin/tensorflow,davidzchen/tensorflow,kevin-coder/tensorflow-fork,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,karllessard/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,karllessard/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,karllessard/tensorflow,ghchinoy/tensorflow,xzturn/tensorflow,aldian/tensorflow,jendap/tensorflow,arborh/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,arborh/tensorflow,chemelnucfin/tensorflow,paolodedios/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,jbedorf/tensorflow,ppwwyyxx/tensorflow,ageron/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,arborh/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,alsrgv/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,jhseu/tensorflow,ghchinoy/tensorflow,ghchinoy/tensorflow,gunan/tensorflow,DavidNorman/tensorflow,jendap/tensorflow,DavidNorman/tensorflow,ageron/tensorflow,paolodedios/tensorflow,annarev/tensorflow,theflofly/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,yongtang/tensorflow,jbedorf/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ghchinoy/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,theflofly/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow,Intel-tensorflow/tensorflow,theflofly/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,annarev/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jendap/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,jbedorf/tensorflow,gunan/tensorflow,apark263/tensorflow,alsrgv/tensorflow,yongtang/tensorflow,kevin-coder/tensorflow-fork,ageron/tensorflow,sarvex/tensorflow,jhseu/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,aldian/tensorflow,renyi533/tensorflow,aam-at/tensorflow