Fix handlecorrectly empty project repository on search