check if packages local to app and add to metadata