Set custom_base_name explicitly

To think, base_image **could** be sent `nil`, so we need to
ensure that it is set to a reasonable value before sending it to
`#latest_template`.