Fix branch logic in req propose script

Checkout the appropriate branch in the target project directory
before syncing the requirements.

Change-Id: I9947255412b57e6d7be0b95bd920b85f1c92658a