Add file existence confine to packagelock