Check if a reference has been loaded from a packfile
A git reference
0 in case it's not packed; 1 otherwise