Remove duplicate code as suggested by codeclimate
Remove duplicate code as suggested by codeclimate

Signed-off-by: Patrick Harböck <915522d26483984875983151bf7edf5b0551561b@tngtech.com>

gopasspw/gopassbridge,gopasspw/gopassbridge,gopasspw/gopassbridge,gopasspw/gopassbridge