Updated to allow the paths to match on Windows
JBTM-2171 Updated the rebase script to work on Mac