Made suggested changes from PR review.

Removed code duplication from initial_setup_for_instances_form_vars method.

https://bugzilla.redhat.com/show_bug.cgi?id=1114747
https://bugzilla.redhat.com/show_bug.cgi?id=1115652