Robustify against dots in Jamfile pathnames.
Without this patch, if a Jamfile uses $(name).some-rule for example as generator id, the rule would not be actually called if Jamfile's path included a dot.