Matter-wave localization in a weakly perturbed optical lattice