Fix to handle non-URLs input

This fix is going to help to handle non-URL user input.
Cheers!
-- Rodrigo Tolledo