master: fix search and purge build after deploy