check Makefile existence, add - in regexp

and if not present, return a null string,
because if we detach the menu the nil list makes it disappear.