Small fixes for previous

Fixed variable not beeing set
Fixed check if no subsite urls are entered