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

fix getCommonPrefix and getCommonPostfix to handle a single string