[BUGFIX] remove obsolete code, sitelang is partially undefined

Change-Id: I1bd51c7877093f8635a05720cd8d6f18d013b996