add if
Merge pull request #823 from xdel/forgotten-pseudopkg-4.0

add if