Prevent deletion themes / plugins installed via admin

I've extended the code in the build action hook to prevent deletion of themes and plugins installed via the wordpress admin screens every time you push upstream.