Remove print statements

"print item" statement raises an exception when type of item is jinja2.runtime.StrictUndefined.