Added a check to no re-direct to hudson when the protocol is file: to aid local development