only remove APP-* folders when re-linking deps for stagedevrel

previously APP* would be deleted, which won't work if two apps share
the same prefix