Find real path before generating an env name to use in PS1