fix php notices
fix php notices
Fix non-bare repo to use pull instead of fetch