Check for valid site id before continuing clone

It's possible for wpmu_create_site() to return a WP_Error object. When
passing this object to some of the rest of the site cloning functions,
it can be cast to an int and become 1, which wreaks havoc with the main
site.