added a more robust way to decide if an image for download is an equation
ignoring the egginfo stuff for local development
hard to call sys.exit without a sys import...