Add extra ./ prefix check when matching main