Fix notices undefined index post_types when scaffolding CPT

Added `post_type` default value and use `$control_args` because it it won't be available in `$vars`