Sync eng/common directory with azure-sdk-tools for PR 2095 (#15780)
Sync eng/common directory with azure-sdk-tools for PR 2095 (#15780)

* Mitigate relative path calculation error on multiple iterations

* Revert "Mitigate relative path calculation error on multiple iterations"

This reverts commit 45baedd990c6a3085742a38a4891d8706a93be77.

* GetRelativePath should check if path is already relative before calling [IO.Path]::GetRelativePath

Co-authored-by: Daniel Jurek <ef5be98d5567382bd5b0c07f3c661a000bbfb4dd@microsoft.com>
Azure/azure-sdk-for-go,Azure/azure-sdk-for-go,Azure/azure-sdk-for-go,Azure/azure-sdk-for-go