added task to check if an unit is internal and is marked as external
Merge pull request #449 from cbartol/ticket/rt-#407567

Added task to check if an unit is internal and is marked as external, and update it
Closes #448