Erroneous wrong arguments 595

fixes #595 
Perhaps it'd be neater if `_parse_environment` a returned tuple or frozenset of tuples (which would be immutable) or None. Then you could avoid this test and also avoid the change to the default attribute value of Application (below).