Fixed issues with CLI tasks that make internal HTTP requests