Automation fixes for anaconda and gdm