Post-critical analysis of structures with a nonlinear pre-buckling state in the presence of imperfections