removed -P grep option: useless and does not work if libpcre.so.3 not available

if libpcre.so.3 is not available, then grep -P produces an error
when checking if checkout is needed. This option had some sense
when the search term was surrounded with ^ and $ (removed in 899dad).
It looks useless now. Maybe should use -w instead?