[1.7.x] Fixed #22325: Ignore __first__ dependencies to your own app