Fix initrepo script

A recent change broke the initrepo script: we now also have to
copy the defs.sh file to the temporary directory prior to
trying to update.

Change-Id: Iab1f7aae8e32c7bafce41ac510c050a275cd7eb2