fix: fetch base branch before performing merge-base

Also make sure the copyright script honors the refspec that's passed on
it's command line.

Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
Change-Id: I91250c39015129c3c1eef0891ff55ee2ea6f74b1
2 files changed