This really indicates you need a (simple) easyblock for `p7zip`... Especially the `&& /bin/true` part.