Fix #40: throw an error when no scheme is supplied