Replaced accidental call to drupalgap_get_path() with drupalgap_path_get().