Makes sure to return to the original path so it can continue building the project