fixed redirect support in get command (closes #493)