One question, it should be $REPACK/ota/system/extras/ instead of $REPACK/ota/system/ ?
Btw, @eugenesan @aaronpoweruser could you take a look at the pull? You know better the code.