Fix "create merge request" button shown on compare page when MRs are disabled in project

Otherwise it leads to 404 page.