I am not sure Pegida would have anything to do with having or not having a basic income in Germany. The anti-immigration stance and the social progressive stance are, as strange as it may sound, not mutually exclusive. Take... Finland, for example: in my country the True Finns, a far-right party from an immigration point of view, is now very powerful and indeed part of the government (indeed the government that is going to implement basic income). True Finns, at the same time, has a strong socially progressive platform which advocates for more social benefits and higher taxes for the rich. Now I didn't vote for True Finns myself, but as a socialist, I see no issue with their social platform.
Take Poland, as another example: the Law and Justice party is against immigration and for control of the borders. They, also, have a relatively OK social platform - they support universally available social services, tax rebates based on number of children and state-supported universal healthcare. But Law and Justice is socially regressive when it comes to gay rights.
So.... it's complicated.