Fix .gitgnore w.r.t. matlab/missing
(cherry picked from commit e16e9c94243cbd7cf8b8d8ee6185e412bb7d9145)