Please use here $respository . '/' . $name instead of variables in the string.