[PATCH 2/2] alpm: fix wrong access() being used