fix getCommonPrefix and getCommonPostfix to handle a single string
Merge pull request #1477 from kaltura/IX-9.20.0-getCommonPrefix

fix getCommonPrefix and getCommonPostfix to handle a single string