added exception to handle github urls