Read the article more carefully. From the article:
> “How did the president decide the seven countries?” she asked. “Okay, talk to me.”
“I'll tell you the whole history of it,” Giuliani responded eagerly. “So when [Trump] first announced it, he said, 'Muslim ban.' He called me up. He said, 'Put a commission together. Show me the right way to do it legally.' "
Giuliani said he assembled a “whole group of other very expert lawyers on this,” including former U.S. attorney general Michael Mukasey, Rep. Mike McCaul (R-Tex.) and Rep. Peter T. King (R-N.Y.).
“And what we did was, we focused on, instead of religion, danger — the areas of the world that create danger for us,” Giuliani told Pirro. “Which is a factual basis, not a religious basis. Perfectly legal, perfectly sensible. And that's what the ban is based on. It's not based on religion. It's based on places where there are substantial evidence that people are sending terrorists into our country.”
The story goes:
1. Trump phone call to Giuliani: "Muslim ban. Put a commission together. Show me the right way to do it legally."
2. Giuliani assembles "a whole group of other very expert lawyers": “And what we did was, we focused on, instead of religion, danger — the areas of the world that create danger for us. Which is a factual basis, not a religious basis. Perfectly legal, perfectly sensible. And that's what the ban is based on. It's not based on religion. It's based on places where there are substantial evidence that people are sending terrorists into our country.”
It is clear that in this executive order, the intent and desire (Muslim ban) is imagined, then the subterfuge (the focus on law) applied, contradicting your original point:
> The ban is a temporary measure and has nothing to do with religion.