Fixed gfm.php to correctly match directories

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>