fix query_tags_to_skip func
fix query_tags_to_skip func

This change fixes the collection of tags in the V2_Registry. Previously the last line was assigned to the response body. Now it collects each tag into an array.
docker/migrator,mbentley/migrator