CLOUDIFY-1335 fix url parsing and fixed logging.
CLOUDIFY-1335 dont fail if regex not found. just log it. in some cases the regex we are looking for will not exist, and this is fine.