Update "pkg_edit.php"

Move closing TR tag outside the 'foreach' statement, otherwise once the end of the 'foreach' statement is reached it will produce a duplicate closing TR tag.