treat commit id as the optional parameter in stop-copy cmdlet