If no refspec was given just take the default we get after clone. Signed-off-by: Henning Schild <henning.schild@siemens.com>