Revert "Temporary workaround for Plugin#getExt issue."

This reverts commit ebfd4784ca97231a6d20ad51ea630e26ca650d8b.
Get CSS ext from input tree instead of input path.