Remove redundancy in pref (#344)

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
Merge remote-tracking branch 'upstream/master'