replaced get_attribute with first_selected_option

After deleting a gpg-key, we were asserting the key association with repo via get_attribute. But its not working. GPG key selection box is not visible to selenium as page needs to scroll down. 

So I replaced get_attribute solution with `first_selected_option.text` and it works fine.