prune: use correct git command syntax

Both forms aparently work, but this follows the syntax from the docs.