Added check to make sure custom_repourl is provided

need to pass the $custom_repourl value, check to make sure it's there,
else fail.