Fix bug with merge request branch select

Merge request target branch select is broken if you submit form and have
some errors on page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
 Merge branch 'bug/broken_mr_select' into 'master'

Fix broken merge request select

Fixes #991