get rid of double cleanup in Python easyblock