Fixed the common directory replacing logic to when common dir = ""
Fixed the common directory replacing logic to when common dir = ""

turbulenz/typescript,hippich/typescript,guidobouman/typescript,mbebenita/shumway.ts,popravich/typescript,rbirkby/typescript,mbebenita/shumway.ts,mbrowne/typescript-dci,mbrowne/typescript-dci,rbirkby/typescript,tarruda/typescript,tarruda/typescript,fdecampredon/jsx-typescript-old-version,fdecampredon/jsx-typescript-old-version,guidobouman/typescript,popravich/typescript,fdecampredon/jsx-typescript-old-version,popravich/typescript,hippich/typescript,mbebenita/shumway.ts,mbrowne/typescript-dci,mbrowne/typescript-dci,tarruda/typescript,hippich/typescript,turbulenz/typescript,turbulenz/typescript,vcsjones/typescript,guidobouman/typescript,rbirkby/typescript