mapfishapp: fixed regression introduced by cf1a3321