Updated getSitesAsUrl() and Fixed return when 'arrReturn' is null.