small fix to handle no redirect provided case
Merge pull request #69 from stin7/master

small fix to handle no redirect provided case